// 
// DotNetNuke?- http://www.dotnetnuke.com 
// Copyright (c) 2002-2011 
// by DotNetNuke Corporation 
// 
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated 
// documentation files (the "Software"), to deal in the Software without restriction, including without limitation 
// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and 
// to permit persons to whom the Software is furnished to do so, subject to the following conditions: 
// 
// The above copyright notice and this permission notice shall be included in all copies or substantial portions 
// of the Software. 
// 
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
// TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF 
// CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 
// DEALINGS IN THE SOFTWARE. 
// 

using System;
using System.Configuration;
using System.Data;

namespace CharityGamesOnline.Modules.Event
{

    /// ----------------------------------------------------------------------------- 
    /// <summary> 
    /// The Info class for Event 
    /// </summary> 
    /// <remarks> 
    /// </remarks> 
    /// <history> 
    /// </history> 
    /// ----------------------------------------------------------------------------- 
    public class EventInfo
    {
        // local property declarations 

        int _rank;
        int _totalRowCount;        
        int _EventID;
        int _PortalID;
        int _status;
        DateTime _dateBegin;
        DateTime _dateEnd;
        string _name;
        string _description;
        int _maxEnrollment;
        decimal _enrollFee;
        string _enrollType;
        string _imageURL;
        string _imageType;
        int _imageWidth;
        int _imageHeight;
        int _categoryID;
        string _categoryName;
        bool _imageDisplay;
        bool _signups;
        bool _allDayEvent;
        bool _approved;
        int _createdByID;
        string _createByUserName;
        DateTime _createdDate;
        int _lastUpdatedID;
        string _lastUpdateUserName;
        DateTime _lastUpdateDate;


        // initialization 
        public EventInfo()
        {
        }

        // public properties 
        public int Rank
        {
            get { return _rank; }
            set { _rank = value; }
        }

        public int TotalRowCount
        {
            get { return _totalRowCount; }
            set { _totalRowCount = value; }
        }

        public int EventID
        {
            get { return _EventID; }
            set { _EventID = value; }
        }

        public int PortalID
        {
            get { return _PortalID; }
            set { _PortalID = value; }
        }
        
        public int Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime DateBegin
        {
            get { return _dateBegin; }
            set { _dateBegin = value; }
        }

        public DateTime DateEnd
        {
            get { return _dateEnd; }
            set { _dateEnd = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string Description
        {
            get { return _description; }
            set { _description = value; }
        }

        public int MaxEnrollment
        {
            get { return _maxEnrollment; }
            set { _maxEnrollment = value; }
        }

        public decimal EnrollFee
        {
            get { return _enrollFee; }
            set { _enrollFee = value; }
        }

        public string EnrollType
        {
            get { return _enrollType; }
            set { _enrollType = value; }
        }

        public string ImageURL
        {
            get { return _imageURL; }
            set { _imageURL = value; }
        }

        public string ImageType
        {
            get { return _imageType; }
            set { _imageType = value; }
        }

        public int ImageWidth
        {
            get { return _imageWidth; }
            set { _imageWidth = value; }
        }

        public int ImageHeight
        {
            get { return _imageHeight; }
            set { _imageHeight = value; }
        }

        public int CategoryID
        {
            get { return _categoryID; }
            set { _categoryID = value; }
        }

        public string CategoryName
        {
            get { return _categoryName; }
            set { _categoryName = value; }
        }

        public bool ImageDisplay
        {
            get { return _imageDisplay; }
            set { _imageDisplay = value; }
        }

        public bool Signups
        {
            get { return _signups; }
            set { _signups = value; }
        }

        public bool AllDayEvent
        {
            get { return _allDayEvent; }
            set { _allDayEvent = value; }
        }

        public bool Approved
        {
            get { return _approved; }
            set { _approved = value; }
        }

        public int CreatedByID
        {
            get { return _createdByID; }
            set { _createdByID = value; }
        }

        public string CreateByUserName
        {
            get { return _createByUserName; }
            set { _createByUserName = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createdDate; }
            set { _createdDate = value; }
        }

        public int LastUpdatedID
        {
            get { return _lastUpdatedID; }
            set { _lastUpdatedID = value; }
        }

        public string LastUpdateUserName
        {
            get { return _lastUpdateUserName; }
            set { _lastUpdateUserName = value; }
        }

        public DateTime LastUpdateDate
        {
            get { return _lastUpdateDate; }
            set { _lastUpdateDate = value; }
        }
    }

}